<%-- 
    Document   : dccrcontent
    Created on : May 20, 2011, 6:54:19 PM
    Author     : Dean
--%>
<%@ taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>
<sjg:grid
    id="dccrGrid"
    caption="All Daily Cash Collection Reports"
    dataType="json"
    href="%{remoteurl}"
    gridModel="gridModel"
    pagerButtons="true"
    pagerInput="true"
    rowList="17,60,120,200"
    rowNum="17"
    loadingText="Requesting Data..."
    width="1260"
    shrinkToFit="false"
    pager="true"
    hoverrows="true"
    rownumbers="true"
    autoencode="true" 
    viewrecords="true"
    navigator="true"
    navigatorAdd="false"
    navigatorDelete="false"
    navigatorEdit="false"
    navigatorSearch="true"
    navigatorView="true"
    navigatorRefresh="false"
    onGridCompleteTopics="dccrGridComplete"
    >
    <sjg:gridColumn name="dccrid"
                    index="dccrid"
                    title="dccrid"
                    key="true"
                    hidden="true"
                    />

    <sjg:gridColumn name="dategenerated"
                    index="dategenerated"
                    title="Date Generated"
                    sortable="true"
                    search="true"
                    searchoptions="{sopt:['eq']}"
                    align="center"
                    />

    <sjg:gridColumn name="borrowercode"
                    index="borrowercode"
                    title="Borrower"
                    sortable="true"
                    search="true"
                    searchoptions="{sopt:['eq']}"
                    align="center"
                    />

    <sjg:gridColumn name="borrowername"
                    index="borrowername"
                    title="Name"
                    sortable="true"
                    search="true"
                    searchoptions="{sopt:['eq']}"
                    align="center"
                    />

    <sjg:gridColumn name="areacode"
                    index="areacode"
                    title="Area Code"
                    sortable="true"
                    search="true"
                    searchoptions="{sopt:['eq']}"
                    align="center"
                    />

    <sjg:gridColumn name="productname"
                    index="productname"
                    title="Product"
                    sortable="true"
                    search="true"
                    searchoptions="{sopt:['eq']}"
                    align="center"
                    />

    <sjg:gridColumn name="numloan"
                    index="numloan"
                    title="Loan No."
                    sortable="true"
                    search="true"
                    searchoptions="{sopt:['eq']}"
                    align="center"
                    />

    <sjg:gridColumn name="releasedate"
                    index="releasedate"
                    title="Release Date"
                    sortable="true"
                    search="true"
                    searchoptions="{sopt:['eq']}"
                    align="center"
                    />

    <sjg:gridColumn name="maturitydate"
                    index="maturitydate"
                    title="Maturity Date"
                    search="true"
                    searchoptions="{sopt:['eq']}"
                    sortable="true"
                    align="center"
                    />

    <sjg:gridColumn name="daysleft"
                    index="daysleft"
                    title="Days Left"
                    search="true"
                    searchoptions="{sopt:['eq']}"
                    sortable="true"
                    align="center"
                    />

    <sjg:gridColumn name="dailyamort"
                    index="dailyamort"
                    search="false"
                    formatter="currency"
                    title="Daily Amort"
                    sortable="true"
                    align="center"
                    />

    <sjg:gridColumn name="p1"
                    index="p1"
                    formatter="currency"
                    search="false"
                    title="DAY 1"
                    sortable="true"
                    align="center"
                    />

    <sjg:gridColumn name="p2"
                    index="p2"
                    title="DAY 2"
                    formatter="currency"
                    sortable="true"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="p3"
                    index="p3"
                    title="DAY 3"
                    formatter="currency"
                    sortable="true"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="p4"
                    index="p4"
                    formatter="currency"
                    title="DAY 4"
                    sortable="true"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="p5"
                    index="p5"
                    formatter="currency"
                    title="DAY 5"
                    sortable="true"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="p6"
                    index="p6"
                    formatter="currency"
                    title="DAY 6"
                    sortable="true"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="p7"
                    index="p7"
                    title="DAY 7"
                    formatter="currency"
                    sortable="true"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="debitedpayment"
                    index="debitedpayment"
                    title="Debited Payment"
                    sortable="true"
                    search="false"
                    formatter="currency"
                    align="center"
                    />


    <sjg:gridColumn name="totalcutoffpayment"
                    index="totalcutoffpayment"
                    title="Total CutOff Payment"
                    sortable="true"
                    formatter="currency"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="totalcutoffcollection"
                    index="totalcutoffcollection"
                    title="Total CutOff Collection"
                    sortable="true"
                    formatter="currency"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="cutoffdue"
                    index="cutoffdue"
                    title="Cut-Off Due"
                    formatter="currency"
                    sortable="true"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="todaysdue"
                    index="todaysdue"
                    title="Today's Due"
                    sortable="true"
                    formatter="currency"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="overdue"
                    index="overdue"
                    title="Overdue"
                    sortable="true"
                    formatter="currency"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="totaladvance"
                    index="totaladvance"
                    title="Total Advance"
                    formatter="currency"
                    sortable="true"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="dueplusod"
                    index="dueplusod"
                    title="Due + OD"
                    sortable="true"
                    formatter="currency"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="totalpayment"
                    index="totalpayment"
                    title="Total Payment"
                    sortable="true"
                    formatter="currency"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="balance"
                    index="balance"
                    title="Balance"
                    sortable="true"
                    formatter="currency"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="promisorynote"
                    index="promisorynote"
                    title="Promisory Note"
                    sortable="true"
                    formatter="currency"
                    search="false"
                    align="center"
                    />

    <sjg:gridColumn name="currentpn"
                    index="currentpn"
                    title="Current PN"
                    sortable="true"
                    search="false"
                    formatter="currency"
                    align="center"
                    />

    <sjg:gridColumn name="lastcutoff"
                    index="lastcutoff"
                    title="Last Cut-Off"
                    sortable="true"
                    formatter="currency"
                    search="false"
                    align="center"
                    />
</sjg:grid>
